package com.startup.yellocar.utils;

import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import java.util.StringTokenizer;



import java.util.UUID;

import org.springframework.stereotype.Component;

public class Utils {


	public static boolean containt(String myString,String exp)
	{
		CharSequence cs = exp;
		 boolean result = myString.contains(cs);
		return result;
	}


	
	public static List<String> splitToList(String myString,String exp)
	{
		List<String> result = new ArrayList<String>();
		StringTokenizer st = new StringTokenizer(myString, exp); 
		int i=0;
		while (st.hasMoreElements()) {
			result.add(st.nextToken());
		}
		return result;
	}
	
	
}
